<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎来到我的博客</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<!-- 导航栏 -->
<div class="nav">
    <img src="../images/touxiang.jpg" alt="">
    <span class="title">我的博客系统</span>

    <!-- 用来占据中间位置 -->
    <span class="spacer"></span>
    <a href="blog_list.html">主页</a>
    <a href="login.jsp">写博客</a>
    <a href="login.html">注销</a>
</div>

<!-- 版心 -->
<div class="container">
    <!-- 左侧个人信息 -->
    <div class="container-left">
        <div class="card">
            <img src="../Picture/touxiang.jpg" class="avtar" alt="">
            <h3>Gxd_01c</h3>
            <a href="https://gitee.com/gxd-01c">gitee 地址</a>
            <div class="counter">
                <a href="view-article.jsp">文章</a>
                <a href="view-articles.jsp">分类</a>
            </div>
            <div class="counter">
                <span>2</span>
                <span>1</span>
            </div>
        </div>
    </div>

    <!-- 右侧内容详情 -->
    <div class="container-right">
        <!-- 每篇博客包含标题，摘要，时间 -->
        <article class="blog">
            <div class="title">我的第一篇博客</div>
            <div class="date">2024-12-17</div>
            <div class="desc">
                关注Gxd_01c,一起学编程! Lorem ipsum dolor sit amet consectetur...
            </div>
            <a href="blog_content.html?blogId=1" class="detail">查看全文 &gt;&gt;</a>
        </article>
        <article class="blog">
            <div class="title">我的第二篇博客</div>
            <div class="date">2024-12-17</div>
            <div class="desc">
                这里应该是第二篇博客的摘要。
            </div>
            <a href="blog_content.html?blogId=2" class="detail">查看全文 &gt;&gt;</a>
        </article>
    </div>
</div>
</body>
</html>